package com.example.lion.iot;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class AboutActivity extends AppCompatActivity {

    private String[] strData={"我的初中简介","我的高中简介","我的大学简介"};
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);

        ArrayAdapter<String> adapter=new ArrayAdapter<String>(AboutActivity.this,android.R.layout.simple_list_item_1,strData);
        ListView lstIntro=(ListView)findViewById(R.id.lst_intro);
        lstIntro.setAdapter(adapter);

    }
}
